package com.seecen.HJM.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

@Data
public class ArtistAddDTO implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;

    //歌手姓名
    private String name;

    //歌手性别
    private Integer gender;


    //歌手出生年月
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate birth;

    //歌手所在地区
    private String area;

    //歌手简介
    private String introduction;

}
